package com.bsoft.gol.hbs.dao;


import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import pcn.consultation.OnlineConsultConfig;

public abstract class OnlineConsultConfigDAO extends HibernateSupportDelegateDAO<OnlineConsultConfig> {
    public OnlineConsultConfigDAO() {
        this.setKeyField("id");
    }

    @DAOMethod(sql = " from OnlineConsultConfig where objectId=:objectId and objectType=:objectType")
    public abstract OnlineConsultConfig getOnlineConsultConfig(@DAOParam("objectId")String objectId, @DAOParam("objectType")String objectType);
}
